<?php
/**
* Admin for System Apps
*
* @author Mario Schillermann <info@rockit-flash.com>
* @encoding UTF-8 äöüßÖÄÜ
* @copyright © 2011 Mario Schillermann (info@rockit-flash.com)
* @license GNU GPL v2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package Page
* @subpackage Index
* @link $HeadURL$
* @version SVN: $Id$
* @phpVersion >=5
* @todo
*/

class Admin_DesktopController extends Zend_Controller_Action
{
    /**
     * Initialize the general options
     *
     * @return void
     */
    public function init()
    {
    }
    /**
     * Dashboard for apps
     *
     * @return void
     */
    public function dashboardAction()
    {
        $auth = Zend_Auth::getInstance();
        $identity = $auth->getIdentity();

        $this->_helper->layout->setLayout('desktop');
        $this->view->baseUrlCss = $this->view->baseUrl("application/modules/admin/public/desktop/css/");
        $this->view->baseUrlImages = $this->view->baseUrl("application/modules/admin/public/desktop/images/");
        $this->view->app = $this->getRequest()->path;
        $this->view->username = $identity['username'];
    }
}